home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
002a
/
corewar.zip
/
BUG.PRG
< prev
next >
Wrap
Text File
|
1990-07-05
|
201b
|
12 lines
BGN Bug
JMP 4 ;Skip the data statements
A DAT -Grid_Size
B DAT 0
C JWN 2 @A ;Don't hit self
MOV #0 @A ;Bomb
RND B #3 ;Random walk
SUB #Grid_Size+1 A
ADD B A
JMP C ;Iterate
END